package com.crcc.materialinventory.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@Setter
@Getter
@PropertySource(value = "classpath:application-dev.properties",encoding = "UTF-8")
public class Configure {

	//上传文件路径，生成pdf时使用，生成后删除
	@Value("${inventory.image.path}")
	private String path;

	//图片服务器地址
	@Value("${inventory.server}")
	private String serverPath;

}
